package com.ruoyi.file;

import com.ruoyi.common.swagger.annotation.EnableCustomSwagger2;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

/**·
 * 文件服务。
 *
 * @author william.zhao & zhao xiang.
 * @version 1.0
 * @since jdk-17.0.2
 * @date 2023/05/05
 */
@Slf4j
@EnableCustomSwagger2
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
public class RuoYiFileContentApplication {
    public static void main(String[] args) {
        SpringApplication.run(RuoYiFileContentApplication.class, args);
        String msg = "YFB-KMS: FILE文件服务模块启动成功...";
        log.info(msg);
        log.error(msg);
    }
}
